package com.blood.modules.system.dto.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 菜单权限分页查询结果
 *
 * @author daoren
 * @date 2022-11-23 10:34:28
 */
@Data
@ApiModel(value = "菜单权限分页查询结果", description = "菜单权限分页查询结果")
public class SysMenuPageResp {
    @ApiModelProperty("业务id")
    private String id;
    @ApiModelProperty("上级ID，一级菜单为0")
    private String pid;
    @ApiModelProperty("菜单名称")
    private String name;
    @ApiModelProperty("菜单URL")
    private String url;
    @ApiModelProperty("类型  （0：菜单   1：按钮   2：接口）")
    private Integer type;
    @ApiModelProperty("打开方式（1内部，2外部）")
    private Integer openStyle;
    @ApiModelProperty("菜单图标")
    private String icon;
    @ApiModelProperty("授权标识(如 sys:user:add)")
    private String authority;
    @ApiModelProperty("排序")
    private Integer sort;


}
